package com.sun.huazhi.userservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.BeanDefinitionStoreException;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication
@MapperScan("com.sun.huazhi.userservice.mapper")  // 指定 Mapper 扫描路径
public class HuaZhiUserServiceApplication {
    public static void main(String[] args) {
        try{
            SpringApplication.run(HuaZhiUserServiceApplication.class, args);
        }catch (BeanDefinitionStoreException e) {
            e.printStackTrace();
        }
    }
}
